package com.wangshouyu.mp.menu;

/**
 * @author 王守钰
 * @date 2020年12月06日 22:10:27
 * @description: 按钮类型
 */
public enum ButtonType {

    /**
     * 按钮类型
     */
    CLICK("click","按钮"),
    VIEW("view","地址"),
    SCANCODE_PUSH("scancode_push","扫码推事件"),
    SCANCODE_WAIT_MSG("scancode_waitmsg","扫码推事件且弹出“消息接收中”提示框用户点击按钮后"),
    PIC_SYS_PHOTO("pic_sysphoto","弹出系统拍照发图"),
    PIC_PHOTO_OR_ALBUM("pic_photo_or_album","弹出拍照或者相册发图"),
    PIC_WEIXIN("pic_weixin","弹出微信相册发图器"),
    LOCATION_SELECT("location_select","弹出地理位置选择器"),
    MEDIA_ID("media_id","下发消息"),
    VIEW_LIMITED("view_limited","跳转图文消息URL"),
    MINI_PROGRAM("miniprogram","小程序"),

    ;

    /**
     * 按钮类型
     */
    private String type;

    /**
     * 类型描述
     */
    private String description;

    ButtonType(String type, String description) {
        this.type = type;
        this.description = description;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
